package com.xjtu.platform.reader;

import com.xjtu.platform.common.PageParam;
import com.xjtu.platform.reader.dto.BorrowBookDto;
import com.xjtu.platform.reader.dto.BorrowHisDto;
import com.xjtu.platform.reader.dto.GetBookListParamDto;
import com.xjtu.platform.reader.dto.PageParamDto;
import com.xjtu.platform.reader.entity.BookListEntity;

import java.util.List;
import java.util.Map;

public interface ReaderService {
    Map<String,Object> getBookList(GetBookListParamDto dto);

    boolean borrowBook(BorrowBookDto borrowBookDto, String readerId);

    Map<String, Object> getBorrowHis(BorrowHisDto borrowHisDto);
}
